<?php
	$auth = Zend_Auth::getInstance();
	$u = $auth->getIdentity();
	$sess = new Zend_Session_Namespace(CLU_NS);
	
?>

<? if ($this->avatar_image) :?>
<img src="<?=sprintf($this->avatar_image, "xxsmall");?>" alt="avatar"/> 
<?endif ?>
Welcome <a href="/en/user/account/view?id=<?=$u->id?>"><?=$u->name ?></a>, pls <a href="/en/user/account/edit?id=<?=$u->id?>"> edit </a> ur profile here
<br/>
Your roles: <?=$sess->userRoles ?>
<br/>

<ul>
<li> <a href="/en/article/index/new"> Post a new article </a> </li>
<li> <a href="/en/place/index/new"> Post a new Place </a> </li>
<li> <a href="/en/user/account/logout"> Logout </a> </li>
</ul>
